inner & outer product(vector)

a%*%b # a dot b
a%o%b # a outerproduct b